/*
 * @Author: your name
 * @Date: 2020-05-13 12:16:57
 * @LastEditTime: 2020-05-13 12:17:13
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /vue-cli4-multi/src/modules/front/data/store/getters.js
 */
// 页面仓库
import pages from './modules/pages/index'
const pagesGetters = {}
Object.keys(pages).forEach(item => {
  pagesGetters[item] = state => state[item]
})
const getters = {
  app: state => state.app,
  mobileApp: state => state.mobileApp,
  ...pagesGetters
}
export default getters
